Assignemnt: #115 and Number Puzzle I

Code
/// Name: Yordan Rashkov
/// Period: 7
/// Program Name: Number Puzzle I
/// File Name: numpuzzleI.java
/// Date Finished: 5/4/2016

public class NumPuz
{
	public static void main( String[] args ) throws Exception
	{
		System.out.println();

		for ( int i = 10; i < 99; i++)
		{
			for ( int j = 10; j < 99; j++)
			{
				if (i+j==60 && Math.abs(i-j)==14 )

					System.out.print(" ("+i+","+j+") ");
			}
		}

		System.out.println();
	}
}